<template>
  <el-checkbox-group v-model="value" >
   <el-checkbox  v-for="(item,index) in props.data" :label="item.value" :key="index">{{ item.label }}</el-checkbox> 
 </el-checkbox-group>
</template>

<script setup name="CheckboxGroup">
import { ref } from 'vue'
const value=ref([])
const props = defineProps({ data: Array });
</script>
<script >
export default {
  name: 'CheckboxGroup'
}
</script>

<style lang="scss" scoped>

</style>